package top.lingkang.potato.network.needtoken;

import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.Get;
import top.lingkang.potato.config.ServerConfig;
import top.lingkang.potato.dto.ResponseResult;
import top.lingkang.potato.network.interceptor.AuthInterceptor;

/**
 * @author lingkang
 * @date 2021/9/19 14:14
 * @description
 */
@BaseRequest(/*interceptor = {AuthInterceptor.class},*/ baseURL = ServerConfig.baseServerUrl)
public interface UserClient {

    @Get(url = "/user")
    ResponseResult getUserInfo();

    @Get(url = "/account/info")
    Integer getUpInfo();
}
